﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Common/WebSiteMaster.master" AutoEventWireup="true" CodeBehind="F_EventsAndArgs.aspx.cs" Inherits="ScottCateAjax2008.Lesson07.F_EventsAndArgs" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <asp:ScriptManager id="SC1" ScriptMode="Debug" runat="server">
        <Scripts>
            <asp:ScriptReference Path="F_EventsAndArgs.aspx.js" />
            <asp:ScriptReference Path="F_EventsAutoLibrary.js" />
        </Scripts>
    </asp:ScriptManager>
    
    <a href="/Utilities/ShowJavaScript.aspx?url=~/Lesson07/F_EventsAutoLibrary.js">F_EventsAutoLibrary</a><br />
    <a href="/Utilities/ShowJavaScript.aspx?url=~/Lesson07/F_EventsAndArgs.aspx.js">F_EventsAndArgs.aspx.js</a><br />
    <a href="#ClearSpeedResults" onClick="ClearSpeed()">Clear Speed Results</a><br /><br />

    <a href="#AutomobileSpeed" onClick="WriteAutoDetails(new ScottCate.Automobile('White'))">
        What is the Max Speed of an Automobile</a><br />

    <a href="#CorvetteSpeed" onClick="WriteAutoDetails(new ScottCate.Corvette('Red'))">
        What is the Max Speed of a Corvette</a>&nbsp;
        <a href="#SpeedUp" onclick="SpeedUp(25)">Speed Up</a>
        <br />

    <a href="#FerrariSpeed" onClick="WriteAutoDetails(new ScottCate.Ferrari('Yellow'))">
        What is the Max Speed of a Ferrari</a>&nbsp;
        <a href="#SpeedUp" onclick="SpeedUp(25)">Speed Up</a>
        <br />

    <a href="#CheapCarSpeed" onClick="WriteAutoDetails(new ScottCate.CheapCar('Prime or Rusted'))">
        What is the Max Speed of a Cheap Car </a>&nbsp;
        <a href="#SpeedUp" onclick="SpeedUp(25)">Speed Up</a>
        <br />

    <a href="#DumptruckSpeed" onClick="WriteAutoDetails(new ScottCate.Dumptruck('Dirty'))">
        What is the Max Speed of a Dump Truck </a>&nbsp;
        <a href="#SpeedUp" onclick="SpeedUp(25)">Speed Up</a>
        <br />

    <a href="#MotorcycleSpeed" onClick="WriteAutoDetails(new ScottCate.Motorcycle('Chrome'))">
        What is the Max Speed of a Motorcylce </a>&nbsp;
        <a href="#SpeedUp" onclick="SpeedUp(25)">Speed Up</a>
        <br />

    <a href="#SpeedBikeSpeed" onClick="WriteAutoDetails(new ScottCate.SpeedBike('Chrome'))">
        What is the Max Speed of a SpeedBike </a>&nbsp;
        <a href="#SpeedUp" onclick="SpeedUp(25)">Speed Up</a>
        
    <hr />
    
    <div id="speedResults" style="margin-top:30px">&nbsp;</div>

</asp:Content>
